package com.jsd2412.backend.room.mapper;

import com.jsd2412.backend.room.pojo.dto.RoomQuery;
import com.jsd2412.backend.room.pojo.entity.Room;
import com.jsd2412.backend.room.pojo.vo.RoomVO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface RoomMapper {
    void insert(Room room);

    void update(Room room);

    void delete(Integer id);

    List<RoomVO> select(RoomQuery roomQuery);

    RoomVO selectById(Integer id);

    RoomVO selectByNumber(String roomNumber);
}
